package cn.com.nes.site.module.service.monitor;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.com.nes.site.entity.DataReq;
import cn.com.nes.site.entity.PageData;
import cn.com.nes.site.module.dao.monitor.MapDaoImpl;

@Service
public class MapService {

	@Resource
	private MapDaoImpl impl;
	
	public PageData getProjectLocation(DataReq req)  {
		return impl.getProjectLocation(req);
	}
	public PageData getDeviceCount(DataReq req)  {
		return impl.getDeviceCount(req);
	}

	public PageData getCountOfDeviceGroupByArea(DataReq req) throws Exception {
		return impl.getCountOfDeviceGroupByArea(req);
	}

	public PageData getCountAndRateOfDeviceGroupByType(DataReq req) throws Exception {
		return impl.getCountAndRateOfDeviceGroupByType(req);
	}

	public PageData getNewDevice(DataReq req) throws Exception {
		return impl.getNewDevice(req);
	}

	public PageData getDeviceSaleTrendGroupByDeviceModel(DataReq req) throws Exception {
		return impl.getDeviceSaleTrendGroupByDeviceModel(req);
	}

	public PageData getAgentSaleTrendByTime(DataReq req) throws Exception {
		return impl.getAgentSaleTrendByTime(req);
	}

	public PageData getDeviceTypeSaleTrendGroupByMonth(DataReq req) throws Exception {
		return impl.getDeviceTypeSaleTrendGroupByMonth(req);
	}

	public PageData getFaultAndWarnForDeviceGroupByProvinceOnTime(DataReq req) throws Exception {
		return impl.getFaultAndWarnForDeviceGroupByProvinceOnTime(req);
	}

	public PageData getDeviceRelateDataForMap(DataReq req) throws Exception {
		return impl.getDeviceRelateDataForMap(req);
	}

	public PageData getDeviceDataDetailsByProvince(DataReq req) throws Exception {
		return impl.getDeviceDataDetailsByProvince(req);
	}

	public PageData getClueTranslateAndSalesRanking(DataReq req) throws Exception {
		return impl.getClueTranslateAndSalesRanking(req);
	}
}
